package com.itheima.advantagesup.mapper;

import com.github.pagehelper.Page;
import com.itheima.advantagesup.common.PageBean;
import com.itheima.advantagesup.entity.YddUser;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * @ClassName: YddUserMapper
 * @description:
 * @author: zhao qianfeng
 * @date: 2023年07月31日
 * @version: 1.0
 */
@Mapper
public interface YddUserMapper {
    @Select("select count(*) from ydd_user")
    Integer selectCount();

    /**
     * 分页
     * @param yddUser
     * @return
     */
    Page<YddUser> selectList(YddUser yddUser);
}
